﻿namespace CryptoQrUtilities
{
    using System;

    public static class StringExtensions
    {
        public static string ToBase64(this byte[] inputBuffer)
        {
            return Convert.ToBase64String(inputBuffer);
        }

        public static byte[] FromBase64(this string encodedData)
        {
            return Convert.FromBase64String(encodedData);
        }
    }
}

